#pragma once
#include "afxwin.h"

#include "DlgAdjustmentHistogram.h"

// DlgSysAdjustment dialog

class DlgSysBadPixelAdjustment : public CDialog
{
	DECLARE_DYNAMIC(DlgSysBadPixelAdjustment)

public:
	BOOL m_bShowXrayBar ;
	DlgSysBadPixelAdjustment(CWnd* pParent = NULL);   // standard constructor
	virtual ~DlgSysBadPixelAdjustment();

// Dialog Data
	enum { IDD = IDD_System_BadPixelAdjustment };

public:
	void LoadReviseFileList();
	int  LoadReviseFile(char *pszFile);

public:
	DlgAdjustmentHistogram *m_pDlgAdjustHis;
	void LoadHis();

public:
	void GetReviseParam(zkBadPixelReviseParam *pInfo);

public:
	void SetXRay();

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedDlgNew();
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedOk();
	CComboBox m_ComboxAdjustFile;
	afx_msg void OnBnClickedCheckCurAdjusmentFile();
	
	virtual BOOL DestroyWindow();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnCbnSelchangeComboCurAdjustmentFile();
};
